package com.startest.sms.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository //防止service层autowired时红线报错（虽然对程序正常运行没影响）
@Mapper  //动态代理自动生成实体类
public interface TransactionMapper {
    void outM(@Param("out") Integer out,
              @Param("money") Integer money);

    void inM(@Param("in") Integer in,
             @Param("money") Integer money);
}
